//
//  BVMyCollectionCell.m
//  BuyVegetables1
//
//  Created by 于善昌 on 16/8/23.
//  Copyright © 2016年 YSC. All rights reserved.
//

#import "BVMyCollectionCell.h"
#import "UIImageView+WebCache.h"

#import "BVConst.h"
@implementation BVMyCollectionCell

- (void)addDataWithModel:(BVShopsLeftCategoryDetail *)myCollectionModel{

    [self.pic_name sd_setImageWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"http://app.jingcaibuy.com/%@",myCollectionModel.pic_name]]];
    self.title.text = myCollectionModel.title;
    self.poundsuit.text = myCollectionModel.poundsunit;
    self.each_bag_money.text = [NSString stringWithFormat:@"%@元/%@",myCollectionModel.each_bag_money,myCollectionModel.each_bag_unit];
    self.each_bag_moneys.text = [NSString stringWithFormat:@"¥%@",myCollectionModel.each_bag_money];
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (IBAction)goShoppingBtnClick:(id)sender {
}
@end
